/**
 * 
 */
package main;

/**
 * 字段的属性
 * @author heantai
 * 2013-6-22 下午4:09:28
 * 
 */
public class Column {
	private String name;
	private String type;
	private boolean nullable;
	private String defaultV;
	//生成enum(生成中文字段，英文字段不生成，手动定义)
	//格式：中文说明;json({1:未审核;2:已审核})
	private String comment;//字段的说明，字段的使用说明，字段的详细说明
	private boolean pk;
	public final String getName() {
		return name;
	}
	public final void setName(String name) {
		this.name = name;
	}
	public final String getType() {
		return type;
	}
	public final void setType(String type) {
		this.type = type;
	}
	public final boolean isNullable() {
		return nullable;
	}
	public final void setNullable(boolean nullable) {
		this.nullable = nullable;
	}
	public final String getDefaultV() {
		return defaultV;
	}
	public final void setDefaultV(String defaultV) {
		this.defaultV = defaultV;
	}
	public final String getComment() {
		return comment;
	}
	public final void setComment(String comment) {
		this.comment = comment;
	}
	public final boolean isPk() {
		return pk;
	}
	public final void setPk(boolean pk) {
		this.pk = pk;
	}

}
